From 510e17d123391d8121ec5eb1ac0602843b7f224e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 6 Mar 2020 05:50:35 +0100 Subject: [PATCH] cellarea: Be very clear The static analyzer needs to know we absolutely DO NOT want to use this return value. --- gtk/gtkcellarea.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c index e9b10bd355..157c3bc5ed 100644 --- a/gtk/gtkcellarea.c +++ b/gtk/gtkcellarea.c @@ -2950,7 +2950,9 @@ gtk_cell_area_add_focus_sibling (GtkCellArea *area, siblings = g_hash_table_lookup (priv->focus_siblings, renderer); if (siblings) - siblings = g_list_append (siblings, sibling); + { + G_GNUC_UNUSED GList *unused = g_list_append (siblings, sibling); + } else { siblings = g_list_append (siblings, sibling); -- 2.30.2